<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Every-PDF - 开源PDF处理工具集</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .code-block {
            background: #1e1e1e;
            color: #d4d4d4;
            border-radius: 8px;
            padding: 1rem;
            font-family: 'Consolas', 'Monaco', monospace;
            overflow-x: auto;
        }
        .first-letter::first-letter {
            font-size: 3rem;
            font-weight: 700;
            float: left;
            line-height: 1;
            margin-right: 0.5rem;
            color: #667eea;
            font-family: 'Noto Serif SC', serif;
        }
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #667eea, transparent);
            margin: 3rem 0;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .float-animation {
            animation: float 3s ease-in-out infinite;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-6">
        <div class="max-w-6xl mx-auto">
            <div class="text-center">
                <h1 class="text-5xl md:text-7xl font-bold mb-6 tracking-tight">
                    Every-PDF
                </h1>
                <p class="text-xl md:text-2xl mb-8 opacity-90">
                    开源PDF处理工具集，为开发者而生
                </p>
                <div class="flex flex-wrap justify-center gap-4 mb-12">
                    <a href="https://github.com/DDULDDUCK/every-pdf" target="_blank" class="bg-white text-purple-700 px-8 py-3 rounded-full font-semibold hover:bg-opacity-90 transition-all duration-300 flex items-center gap-2">
                        <i class="fab fa-github"></i>
                        访问 GitHub
                    </a>
                    <button class="border-2 border-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-purple-700 transition-all duration-300">
                        快速开始
                    </button>
                </div>
                <div class="grid grid-cols-1 md:grid-cols-3 gap-6 text-center">
                    <div class="bg-white bg-opacity-10 backdrop-blur-sm rounded-lg p-6">
                        <i class="fas fa-code text-4xl mb-3"></i>
                        <h3 class="text-lg font-semibold">完全开源</h3>
                        <p class="text-sm opacity-80">MIT许可证，自由使用</p>
                    </div>
                    <div class="bg-white bg-opacity-10 backdrop-blur-sm rounded-lg p-6">
                        <i class="fas fa-rocket text-4xl mb-3"></i>
                        <h3 class="text-lg font-semibold">高性能处理</h3>
                        <p class="text-sm opacity-80">批量处理，并行执行</p>
                    </div>
                    <div class="bg-white bg-opacity-10 backdrop-blur-sm rounded-lg p-6">
                        <i class="fas fa-plug text-4xl mb-3"></i>
                        <h3 class="text-lg font-semibold">模块化设计</h3>
                        <p class="text-sm opacity-80">按需加载，灵活扩展</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="max-w-6xl mx-auto px-6 py-12">
        <!-- Introduction -->
        <section class="bg-white rounded-2xl shadow-xl p-8 md:p-12 mb-12">
            <p class="text-lg leading-relaxed text-gray-700 first-letter">
                Every-PDF是一个开源的PDF处理工具集，专为开发者和技术用户设计，提供从PDF文本提取、格式转换到内容分析的全面功能。该工具采用模块化架构，支持命令行操作和API接口调用，能够满足不同场景下的PDF处理需求。目标用户包括数据分析师、研究人员、内容创作者以及需要批量处理PDF文档的企业用户。
            </p>
        </section>

        <!-- Problem Section -->
        <section class="mb-12">
            <h2 class="text-3xl font-bold mb-8 text-gray-800 flex items-center gap-3">
                <i class="fas fa-puzzle-piece feature-icon"></i>
                它能解决什么问题
            </h2>
            <div class="bg-white rounded-2xl shadow-xl p-8 md:p-12">
                <p class="text-lg leading-relaxed text-gray-700 mb-6">
                    在处理PDF文档时，用户经常面临诸多挑战：传统PDF阅读器功能单一，无法进行批量处理；商业PDF工具价格昂贵且功能冗余；开源工具往往缺乏统一接口，需要学习多个不同的命令行工具；PDF内容提取质量参差不齐，特别是对于扫描版PDF或复杂排版的文档；格式转换过程中容易出现乱码、格式丢失等问题。
                </p>
                <div class="bg-gradient-to-r from-purple-50 to-pink-50 rounded-lg p-6 border-l-4 border-purple-600">
                    <p class="text-lg font-semibold text-gray-800">
                        <i class="fas fa-lightbulb text-purple-600 mr-2"></i>
                        这个工具就是来解决这些问题的——通过统一的命令行接口和API，提供高质量的PDF处理功能，支持批量操作，并且完全开源免费，让用户能够高效地处理各种PDF相关任务。
                    </p>
                </div>
            </div>
        </section>

        <!-- Core Features -->
        <section class="mb-12">
            <h2 class="text-3xl font-bold mb-8 text-gray-800 flex items-center gap-3">
                <i class="fas fa-star feature-icon"></i>
                核心功能概述
            </h2>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                    <div class="flex items-start gap-4">
                        <div class="bg-purple-100 rounded-lg p-3 float-animation">
                            <i class="fas fa-file-alt text-2xl text-purple-600"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">智能文本提取</h3>
                            <p class="text-gray-600">采用先进的OCR技术和文本识别算法，能够准确提取PDF中的文本内容，包括扫描版PDF和复杂排版文档，支持多语言识别和表格数据提取。</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                    <div class="flex items-start gap-4">
                        <div class="bg-purple-100 rounded-lg p-3 float-animation">
                            <i class="fas fa-exchange-alt text-2xl text-purple-600"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">多格式转换</h3>
                            <p class="text-gray-600">支持PDF转Word、Excel、PowerPoint、HTML、Markdown等多种格式，保持原始文档的格式和样式，确保转换质量。</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                    <div class="flex items-start gap-4">
                        <div class="bg-purple-100 rounded-lg p-3 float-animation">
                            <i class="fas fa-layer-group text-2xl text-purple-600"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">批量处理能力</h3>
                            <p class="text-gray-600">提供命令行批量处理功能，支持文件夹递归处理、文件过滤和并行处理，大幅提升处理效率，适合大规模文档处理需求。</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                    <div class="flex items-start gap-4">
                        <div class="bg-purple-100 rounded-lg p-3 float-animation">
                            <i class="fas fa-chart-line text-2xl text-purple-600"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">内容分析工具</h3>
                            <p class="text-gray-600">内置关键词提取、文档摘要、页面统计等功能，帮助用户快速了解PDF文档的核心内容和结构特征。</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-xl shadow-lg p-6 card-hover md:col-span-2">
                    <div class="flex items-start gap-4">
                        <div class="bg-purple-100 rounded-lg p-3 float-animation">
                            <i class="fas fa-code text-2xl text-purple-600"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">API接口服务</h3>
                            <p class="text-gray-600">提供RESTful API接口，支持集成到现有系统中，便于开发者在自己的应用中调用PDF处理功能。</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Architecture Diagram -->
        <section class="mb-12">
            <h2 class="text-3xl font-bold mb-8 text-gray-800 flex items-center gap-3">
                <i class="fas fa-sitemap feature-icon"></i>
                系统架构
            </h2>
            <div class="bg-white rounded-2xl shadow-xl p-8">
                <div class="mermaid">
                    graph TB
                        A[Every-PDF 核心] --> B[文本提取模块]
                        A --> C[格式转换模块]
                        A --> D[内容分析模块]
                        A --> E[批量处理引擎]
                        A --> F[API服务]
                        
                        B --> B1[OCR引擎]
                        B --> B2[文本识别]
                        B --> B3[表格提取]
                        
                        C --> C1[Word转换]
                        C --> C2[Excel转换]
                        C --> C3[HTML/Markdown]
                        
                        D --> D1[关键词提取]
                        D --> D2[文档摘要]
                        D --> D3[统计分析]
                        
                        E --> E1[并行处理]
                        E --> E2[任务队列]
                        E --> E3[进度监控]
                        
                        F --> F1[RESTful API]
                        F --> F2[认证授权]
                        F --> F3[文档管理]
                        
                        style A fill:#667eea,stroke:#fff,stroke-width:3px,color:#fff
                        style B fill:#f3e5f5,stroke:#667eea,stroke-width:2px
                        style C fill:#f3e5f5,stroke:#667eea,stroke-width:2px
                        style D fill:#f3e5f5,stroke:#667eea,stroke-width:2px
                        style E fill:#f3e5f5,stroke:#667eea,stroke-width:2px
                        style F fill:#f3e5f5,stroke:#667eea,stroke-width:2px
                </div>
            </div>
        </section>

        